﻿namespace Refract.Composition
{
    using System;
    using System.ComponentModel.Composition;

    /// <summary>
    /// An attribute used to export module controllers
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class ExportModuleControllerAttribute : ExportAttribute
    {
        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="ExportModuleControllerAttribute"/> class.
        /// </summary>
        public ExportModuleControllerAttribute()
            : base(typeof(IModuleController))
        {
        }

        #endregion Constructors
    }
}